-
Notifications
You must be signed in to change notification settings - Fork 7.2k
fix anti-pattern for cudagraph #9081
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/vision/9081
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New FailureAs of commit 5a9709a with merge base 11ed64e ( NEW FAILURE - The following job has failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@pytorchbot merge -f "skip unrelated lint issue" |
|
Mergebot is not configured for this repository. Please use the merge button provided by GitHub. |
|
Hey @BoyuanFeng! You merged this PR, but no labels were added. |
|
Hi folks, Sorry but I have to revert this PR as it is BC-breaking. Happy to consider alternative fixes (ideally, with non-regression tests), but next time please do allow time for a maintainer's review. |
This reverts commit 966da7e.
Reviewed By: AntoineSimoulin Differential Revision: D79175034 fbshipit-source-id: db5d7274acec39086de4e3dbd9b5f860c8024a17
Previously,
self.set_cell_anchors(dtype, device)leads to cudagraph error "accessing tensor output of CUDAGraphs that has been overwritten by a subsequent run". This pr fixes the anti-pattern to enable cudagraph.